package com.prs.crm.action.flow;

import org.apache.struts2.convention.annotation.Action;
import org.courser.struts.XJAction;

import com.prs.crm.domain.flow.WorkFlowProcess;
import com.prs.crm.domain.flow.WorkFlowProcessNode;

public class FlowProcessInfoAction extends XJAction{
	
	private static final long serialVersionUID = 4892753984228842016L;
	
	private WorkFlowProcessNode node;
	
	private WorkFlowProcess process;

	public void setNode(WorkFlowProcessNode node) {
		this.node = node;
	}

	public WorkFlowProcessNode getNode() {
		return node;
	}
	
	public void setProcess(WorkFlowProcess process) {
		this.process = process;
	}

	public WorkFlowProcess getProcess() {
		return process;
	}

	@Action("viewProcessDetail")
	public String execute()
	{
		
		return SUCCESS;
	}
	@Action("viewFlowHistory")
	public String viewFlowHistory()
	{
		return SUCCESS;
	}

}
